﻿using UnityEngine;
using System.Collections;
using UnityEngine.UI;

namespace UEngine
{
    public class UpdateLoadingScript : MonoBehaviour
    {
        public bool m_isFinished = false;
        void Start()
        {
            //StartCoroutine(ResourceManager.Instance().UpdateAllAssetFiles());

        }

        void Update()
        {
            //if (!m_isFinished)
            //{
            //    int temp = ResourceManager.Instance().m_totalCountOfUpdateFiles;
            //    GameObject sliderGo = transform.Find("Slider").gameObject;
            //    Slider sliderCom = sliderGo.GetComponent<Slider>();
            //    sliderCom.value = (10 - temp) / 10;
            //    if (temp == 0)
            //    {
            //        m_isFinished = true;

            //    }
            //}


        }
    }
}

